package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.EvaluationFile;
import cn.topevery.garden.entity.query.EvaluationFileQuery;
import cn.topevery.garden.entity.vo.EvaluationFileVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;

/**
 * 检查考评附件表
 *
 * @author code-generate
 * @date 2022-01-05
 */
public interface EvaluationFileDao extends BaseDao<EvaluationFile> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<EvaluationFileVO> listPage(EvaluationFileQuery query);

    EvaluationFile getEntityByColumn(String key,String value);

    void deleteByLogId(Integer logId, Integer userId);

    List<EvaluationFile> getFileListByLogId(Integer logId);

    void saveFiles(List<EvaluationFile> fileList);
}
